﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
namespace IDAL
{
    public interface IordersDAL
    {
        void AddOrders(orders o);
        orders GetLastOrder(int uid);
        orders GetOrderByID(int id);
        void UpdateOrder(orders o);
        IQueryable<orders> GetOrdersByUid(int uid);
        void Confirm(int oid);
        IEnumerable<orders> GetSendOrder();
        void ModifyOrderState(int o, int state);
    }
}
